3.20.58 \(\int \frac {d+e x}{(a d e+(c d^2+a e^2) x+c d e x^2)^{3/2}} \, dx\) [1958]

Optimal. Leaf size=50 \[ -\frac {2 (d+e x)}{\left (c d^2-a e^2\right ) \sqrt {a d e+\left (c d^2+a e^2\right ) x+c d e x^2}} \]

[Out]

-2*(e*x+d)/(-a*e^2+c*d^2)/(a*d*e+(a*e^2+c*d^2)*x+c*d*e*x^2)^(1/2)

________________________________________________________________________________________

Rubi [A]
time = 0.02, antiderivative size = 50, normalized size of antiderivative = 1.00, number of steps used = 1, number of rules used = 1, integrand size = 35, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.029, Rules used = {650} \begin {gather*} -\frac {2 (d+e x)}{\left (c d^2-a e^2\right ) \sqrt {x \left (a e^2+c d^2\right )+a d e+c d e x^2}} \end {gather*}

Antiderivative was successfully verified.

[In]

Int[(d + e*x)/(a*d*e + (c*d^2 + a*e^2)*x + c*d*e*x^2)^(3/2),x]

[Out]

(-2*(d + e*x))/((c*d^2 - a*e^2)*Sqrt[a*d*e + (c*d^2 + a*e^2)*x + c*d*e*x^2])

Rule 650

Int[((d_.) + (e_.)*(x_))/((a_.) + (b_.)*(x_) + (c_.)*(x_)^2)^(3/2), x_Symbol] :> Simp[-2*((b*d - 2*a*e + (2*c*
d - b*e)*x)/((b^2 - 4*a*c)*Sqrt[a + b*x + c*x^2])), x] /; FreeQ[{a, b, c, d, e}, x] && NeQ[2*c*d - b*e, 0] &&
NeQ[b^2 - 4*a*c, 0]

Rubi steps

\begin {align*} \int \frac {d+e x}{\left (a d e+\left (c d^2+a e^2\right ) x+c d e x^2\right )^{3/2}} \, dx &=-\frac {2 (d+e x)}{\left (c d^2-a e^2\right ) \sqrt {a d e+\left (c d^2+a e^2\right ) x+c d e x^2}}\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]
time = 0.04, size = 39, normalized size = 0.78 \begin {gather*} -\frac {2 (d+e x)}{\left (c d^2-a e^2\right ) \sqrt {(a e+c d x) (d+e x)}} \end {gather*}

Antiderivative was successfully verified.

[In]

Integrate[(d + e*x)/(a*d*e + (c*d^2 + a*e^2)*x + c*d*e*x^2)^(3/2),x]

[Out]

(-2*(d + e*x))/((c*d^2 - a*e^2)*Sqrt[(a*e + c*d*x)*(d + e*x)])

________________________________________________________________________________________

Maple [B] Leaf count of result is larger than twice the leaf count of optimal. \(211\) vs. \(2(48)=96\).
time = 0.64, size = 212, normalized size = 4.24

method result size
trager \(\frac {2 \sqrt {c d e \,x^{2}+a \,e^{2} x +c \,d^{2} x +a d e}}{\left (e^{2} a -c \,d^{2}\right ) \left (c d x +a e \right )}\) \(53\)
gosper \(\frac {2 \left (c d x +a e \right ) \left (e x +d \right )^{2}}{\left (e^{2} a -c \,d^{2}\right ) \left (c d e \,x^{2}+a \,e^{2} x +c \,d^{2} x +a d e \right )^{\frac {3}{2}}}\) \(58\)
default \(e \left (-\frac {1}{c d e \sqrt {a d e +\left (e^{2} a +c \,d^{2}\right ) x +c d e \,x^{2}}}-\frac {\left (e^{2} a +c \,d^{2}\right ) \left (2 c d e x +e^{2} a +c \,d^{2}\right )}{c d e \left (4 a c \,d^{2} e^{2}-\left (e^{2} a +c \,d^{2}\right )^{2}\right ) \sqrt {a d e +\left (e^{2} a +c \,d^{2}\right ) x +c d e \,x^{2}}}\right )+\frac {2 d \left (2 c d e x +e^{2} a +c \,d^{2}\right )}{\left (4 a c \,d^{2} e^{2}-\left (e^{2} a +c \,d^{2}\right )^{2}\right ) \sqrt {a d e +\left (e^{2} a +c \,d^{2}\right ) x +c d e \,x^{2}}}\) \(212\)

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((e*x+d)/(a*d*e+(a*e^2+c*d^2)*x+c*d*e*x^2)^(3/2),x,method=_RETURNVERBOSE)

[Out]

e*(-1/c/d/e/(a*d*e+(a*e^2+c*d^2)*x+c*d*e*x^2)^(1/2)-(a*e^2+c*d^2)/c/d/e*(2*c*d*e*x+a*e^2+c*d^2)/(4*a*c*d^2*e^2
-(a*e^2+c*d^2)^2)/(a*d*e+(a*e^2+c*d^2)*x+c*d*e*x^2)^(1/2))+2*d*(2*c*d*e*x+a*e^2+c*d^2)/(4*a*c*d^2*e^2-(a*e^2+c
*d^2)^2)/(a*d*e+(a*e^2+c*d^2)*x+c*d*e*x^2)^(1/2)

________________________________________________________________________________________

Maxima [F(-2)]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Exception raised: ValueError} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((e*x+d)/(a*d*e+(a*e^2+c*d^2)*x+c*d*e*x^2)^(3/2),x, algorithm="maxima")

[Out]

Exception raised: ValueError >> Computation failed since Maxima requested additional constraints; using the 'a
ssume' command before evaluation *may* help (example of legal syntax is 'assume(c*d^2-%e^2*a>0)', see `assume?
` for more d

________________________________________________________________________________________

Fricas [A]
time = 3.18, size = 63, normalized size = 1.26 \begin {gather*} -\frac {2 \, \sqrt {c d^{2} x + a x e^{2} + {\left (c d x^{2} + a d\right )} e}}{c^{2} d^{3} x - a c d x e^{2} + a c d^{2} e - a^{2} e^{3}} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((e*x+d)/(a*d*e+(a*e^2+c*d^2)*x+c*d*e*x^2)^(3/2),x, algorithm="fricas")

[Out]

-2*sqrt(c*d^2*x + a*x*e^2 + (c*d*x^2 + a*d)*e)/(c^2*d^3*x - a*c*d*x*e^2 + a*c*d^2*e - a^2*e^3)

________________________________________________________________________________________

Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {d + e x}{\left (\left (d + e x\right ) \left (a e + c d x\right )\right )^{\frac {3}{2}}}\, dx \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((e*x+d)/(a*d*e+(a*e**2+c*d**2)*x+c*d*e*x**2)**(3/2),x)

[Out]

Integral((d + e*x)/((d + e*x)*(a*e + c*d*x))**(3/2), x)

________________________________________________________________________________________

Giac [F(-2)]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Exception raised: TypeError} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((e*x+d)/(a*d*e+(a*e^2+c*d^2)*x+c*d*e*x^2)^(3/2),x, algorithm="giac")

[Out]

Exception raised: TypeError >> An error occurred running a Giac command:INPUT:sage2:=int(sage0,sageVARx):;OUTP
UT:Unable to divide, perhaps due to rounding error%%%{%%%{1,[1,1,0]%%%},[2,0]%%%}+%%%{%%{[%%%{-2,[0,0,1]%%%},0
]:[1,0,%%%{

________________________________________________________________________________________

Mupad [B]
time = 0.76, size = 53, normalized size = 1.06 \begin {gather*} \frac {2\,\sqrt {c\,d\,e\,x^2+\left (c\,d^2+a\,e^2\right )\,x+a\,d\,e}}{\left (a\,e+c\,d\,x\right )\,\left (a\,e^2-c\,d^2\right )} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((d + e*x)/(x*(a*e^2 + c*d^2) + a*d*e + c*d*e*x^2)^(3/2),x)

[Out]

(2*(x*(a*e^2 + c*d^2) + a*d*e + c*d*e*x^2)^(1/2))/((a*e + c*d*x)*(a*e^2 - c*d^2))

________________________________________________________________________________________